
local status, spectre = pcall(require, "spectre")
if not status then
    vim.notify("没有找到 nvim_spectre")
    return
end

spectre.setup({
    color_devicons = true,
    live_update = true,
    highlight = {
      ui = "String",
      search = "DiffChange",
      replace = "DiffDelete"
  },
})
